package com.cho.core.vo;

public class ProjectVo {
	private String projectName;
	private String projectDescript;
	private String projectDirectory;
	private String includeFileExtension;
	private String dbHost;
	private String dbPort;
	private String dbServiceName;
	private String dbId;
	private String dbPw;

	/*
	 * { dbHost = "121.67.187.158"; dbPort = "1521"; dbServiceName = "ORCL";
	 * dbId = "tpm"; dbPw = "tpm"; }
	 */

	public ProjectVo() {

	}

	public ProjectVo(String projectName) {
		setProjectName(projectName);
	}

	public ProjectVo(String projectName, String projectDescript,
			String projectDirectory) {
		super();
		this.projectName = projectName;
		this.projectDescript = projectDescript;
		this.projectDirectory = projectDirectory;
	}

	public ProjectVo(String projectName, String projectDescript,
			String projectDirectory, String dbHost, String dbPort,
			String dbServiceName, String dbId, String dbPw, String includeFileExtension) {
		super();
		this.projectName = projectName;
		this.projectDescript = projectDescript;
		this.projectDirectory = projectDirectory;
		this.dbHost = dbHost;
		this.dbPort = dbPort;
		this.dbServiceName = dbServiceName;
		this.dbId = dbId;
		this.dbPw = dbPw;
		this.includeFileExtension = includeFileExtension;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectDescript() {
		return projectDescript;
	}

	public void setProjectDescript(String projectDescript) {
		this.projectDescript = projectDescript;
	}

	public String getProjectDirectory() {
		return projectDirectory;
	}

	public void setProjectDirectory(String projectDirectory) {
		this.projectDirectory = projectDirectory;
	}

	public String getDbHost() {
		return dbHost;
	}

	public void setDbHost(String dbHost) {
		this.dbHost = dbHost;
	}

	public String getDbPort() {
		return dbPort;
	}

	public void setDbPort(String dbPort) {
		this.dbPort = dbPort;
	}

	public String getDbServiceName() {
		return dbServiceName;
	}

	public void setDbServiceName(String dbServiceName) {
		this.dbServiceName = dbServiceName;
	}

	public String getDbId() {
		return dbId;
	}

	public void setDbId(String dbId) {
		this.dbId = dbId;
	}

	public String getDbPw() {
		return dbPw;
	}

	public void setDbPw(String dbPw) {
		this.dbPw = dbPw;
	}

	public String getIncludeFileExtension() {
		return includeFileExtension;
	}

	public void setIncludeFileExtension(String includeFileExtension) {
		this.includeFileExtension = includeFileExtension;
	}

	@Override
	public String toString() {
		return "ProjectVo [projectName=" + projectName + ", projectDescript="
				+ projectDescript + ", projectDirectory=" + projectDirectory
				+ ", includeFileExtension=" + includeFileExtension
				+ ", dbHost=" + dbHost + ", dbPort=" + dbPort
				+ ", dbServiceName=" + dbServiceName + ", dbId=" + dbId
				+ ", dbPw=" + dbPw + "]";
	}
	
	public String toStringDbInfo() {
		return "ProjectVo [dbHost=" + dbHost + ", dbPort=" + dbPort
				+ ", dbServiceName=" + dbServiceName + ", dbId=" + dbId
				+ ", dbPw=" + dbPw + "]";
	}

}
